#ifndef CTANK_H
#define CTANK_H
#include <SDL.h>
#include <SDL/SDL_opengl.h>

typedef struct{
    GLfloat x;      //tank coord x
    GLfloat y;      //tank coord y
    GLfloat z;      //tank coord z
    GLfloat angle;  //tank cannon angle
}Tank;

class CTank
{
    public:
        CTank();
        virtual ~CTank();
        void Init();
        void Cleanup();
        void Draw();
        void SetPos(GLuint x, GLuint y);
        void HandleInput(SDL_Event e);
        Tank GetTank();
    protected:
    private:
    Tank *m_Tank;
};

#endif // CTANK_H
